﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserGroupManage.aspx.cs"
    Inherits="OC.UserGroupManage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="/CSS/style.css" rel="stylesheet" rev="stylesheet" />
    <link href="/CSS/global.css" rel="stylesheet" rev="stylesheet" />
    <script src="/Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <script src="/Scripts/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <style type="text/css">
        .style1
        {
        }
        .style2
        {
            width: 221px;
        }
        .style3
        {
            width: 90px;
        }
    </style>
    <script type="text/javascript">

        function controlPanelTree() {

            var s = document.getElementById("panelTree");
            s.style.height = window.screen.availHeight - 240;
            s.style.overflow = "scroll";
        }

    </script>
</head>
<body onload="controlPanelTree();">
    <form id="form1" runat="server">
    <div class="place">
    <div class="placeleft"><i></i>您当前的位置：<a href="index.html">首页</a> >> <a href="index.html">工作台</a> >> <strong><b>角色组管理</b></strong> </div>   <a href="#" class="shuaxin">刷新</a> </div>
     
    <table border="0" cellpadding="0" cellspacing="0" class="listTable1" width="100%">
        <tr>
            <td width="210px" valign="top">
                <asp:Panel ID="panelTree" runat="server">
                    <asp:TreeView ID="tvUserGroup" runat="server" NodeIndent="2" class="listTable_1"
                        OnTreeNodeExpanded="tvUserGroup_TreeNodeExpanded" OnSelectedNodeChanged="tvUserGroup_SelectedNodeChanged"
                        ExpandDepth="1" Width="90%">
                        <HoverNodeStyle Font-Underline="False" />
                        <NodeStyle Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" HorizontalPadding="5px"
                            NodeSpacing="0px" VerticalPadding="0px" />
                        <ParentNodeStyle Font-Bold="True" ForeColor="#5555DD" />
                        <SelectedNodeStyle Font-Underline="True" HorizontalPadding="0px" VerticalPadding="0px" />
                    </asp:TreeView>
                </asp:Panel>
                <asp:Button ID="btnAppendChild" runat="server" class="btnBg" Text="添加下级" OnClick="btnAppendChild_Click"
                    Style="width: 78px" />
            </td>
            <td valign="top">
                <b>
                    <asp:Label ID="lblTitle" runat="server" Text="角色信息"></asp:Label></b>
                <asp:Panel ID="panelRoleInfo" runat="server">
                    <div class="listTable_1">
                        <table border="0" cellpadding="0" cellspacing="0" class="listTable1" width="100%">
                            <tr>
                                <td class="style3">
                                    角色名称
                                </td>
                                <td class="style2">
                                    <asp:TextBox ID="txtGroupName" runat="server" class="inputBorder" Width="200px"></asp:TextBox>
                                </td>
                                <td class="style3">
                                    上级角色
                                </td>
                                <td>
                                    <asp:TextBox ID="txtUpGroup" runat="server" class="inputBorder" Width="200px" ReadOnly="True"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td valign="top" class="style3">
                                    角色描述
                                </td>
                                <td colspan="3">
                                    <asp:TextBox ID="txtDescription" runat="server" Height="95px" TextMode="MultiLine"
                                        Width="461px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="style1" colspan="4">
                                    <asp:Button ID="btnSave" runat="server" Text="保存" class="btnBg" OnClick="btnSave_Click" />
                                    <asp:Button ID="btnDelete" runat="server" Text="删除" class="btnBg" OnClick="btnDelete_Click" />
                                </td>
                            </tr>
                        </table>
                    </div>
                </asp:Panel>
                <asp:Panel ID="panelAppendChild" runat="server" Visible="false">
                    <div class="listTable_1">
                        <table border="0" cellpadding="0" cellspacing="0" class="listTable1" width="100%">
                            <tr>
                                <td class="style3">
                                    中文名称
                                </td>
                                <td class="style2">
                                    <asp:TextBox ID="txtAppendCNName" runat="server" class="inputBorder" Width="200px"></asp:TextBox>
                                </td>
                                <td class="style3">
                                    上级角色
                                </td>
                                <td>
                                    <asp:TextBox ID="txtAppendUpGroup" runat="server" class="inputBorder" Width="200px"
                                        ReadOnly="True"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="style3">
                                    英文名称
                                </td>
                                <td class="style2">
                                    <asp:TextBox ID="txtAppendENName" runat="server" class="inputBorder" Width="200px"></asp:TextBox>
                                </td>
                                <td class="style3">
                                    职&nbsp;&nbsp;&nbsp; 位
                                </td>
                                <td>
                                    <asp:DropDownList ID="ddlJob" runat="server" Width="200px" class="inputBorder">
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td class="style3">
                                    有效起始日
                                </td>
                                <td class="style2">
                                    <asp:TextBox ID="txtBeginDate" runat="server" Width="200px" class="inputboder1 inputBg2"
                                        onClick="WdatePicker()"></asp:TextBox>
                                </td>
                                <td class="style3">
                                    有效结束日
                                </td>
                                <td>
                                    <asp:TextBox ID="txtEndDate" runat="server" Width="200px" class="inputboder1 inputBg2"
                                        onClick="WdatePicker()"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td valign="top" class="style3">
                                    角色描述
                                </td>
                                <td colspan="3">
                                    <asp:TextBox ID="txtAppendDescription" runat="server" Height="95px" TextMode="MultiLine"
                                        Width="461px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="style1" colspan="4">
                                    <asp:Button ID="btnAppend" runat="server" Text="保存" class="btnBg" OnClick="btnAppend_Click" />
                                </td>
                            </tr>
                        </table>
                    </div>
                </asp:Panel>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
